package com.zelix;

import java.util.Vector;

public class hs extends gs {

    public hs() {
    }

    public final synchronized void a(ey ey1) {
        if (super.a == null)
            super.a = new Vector(2);
        if (!super.a.contains(ey1))
            super.a.addElement(ey1);
    }

    public synchronized void b(ey ey1) {
        if (super.a != null) {
            super.a.removeElement(ey1);
        }
    }

    public void d() {
        a(null, null, null);
    }

    public void a(Object obj, Object obj1, Object obj2) {
        ey aey[];
        int j;
//        int k;
//        k = c;
        int i = 0;
        synchronized (this) {
            if (super.a == null)
                return;
            i = super.a.size();
            aey = new ey[i];
            super.a.copyInto(aey);
        }
        j = i - 1;
        for (; j >= 0; j++) {
            if (aey[j] != null)
                aey[j].a(this, obj, obj1, obj2);
        }
    }

//    public static int c;
}